#include "CSquare.h"


CSquare::CSquare(IVideoDriver* driver, recti& corners, SColor color)
{
	this->driver = driver;
	this->corners = corners;
	this->color = color;
}


CSquare::~CSquare(void)
{
}


void CSquare::draw(void)
{
	driver->draw2DRectangle(color, corners);
}